package com.niit.dormitory.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.niit.dormitory.entity.Dormitory;
import com.niit.dormitory.form.SearchForm;
import com.niit.dormitory.vo.PageVO;

public interface DormitoryService extends IService<Dormitory> {
    public PageVO list(Integer page, Integer size);

    public PageVO search(SearchForm searchForm);

    public Boolean deleteById(Integer id);
}
